package io.litchi.starter.oss.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * oss异常  oss异常类型
 *
 * @author helang
 * @since 2025-09-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LitchiOssException extends RuntimeException {

    private Integer code = -1;

    public LitchiOssException(String message) {
        super(message);
    }

    public LitchiOssException(String message, Integer code) {
        super(message);
        this.code = code;
    }
}